package com.escool.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


import com.escool.dao.VinSedeSeccionDAO;

import com.escool.model.TbSedeHasSeccion;

@Service
public class VinSedeSeccionServiceImpl implements VinSedeSeccionService{
@Autowired
VinSedeSeccionDAO catTipoCobroDAO;

@Transactional
public void addTbSedeHasSeccion(TbSedeHasSeccion TbSedeHasSeccion) {
	// TODO Auto-generated method stub
	catTipoCobroDAO.addTbSedeHasSeccion(TbSedeHasSeccion);
}

@Transactional
public void editTbSedeHasSeccion(TbSedeHasSeccion TbSedeHasSeccion) {
	// TODO Auto-generated method stub
	catTipoCobroDAO.editTbSedeHasSeccion(TbSedeHasSeccion);
}

@Transactional
public void delTbSedeHasSeccion(int id) {
	// TODO Auto-generated method stub
	catTipoCobroDAO.delTbSedeHasSeccion(id);
}

@Transactional
public List<TbSedeHasSeccion> listTbSedeHasSeccion(int idSede) {
	// TODO Auto-generated method stub
	return catTipoCobroDAO.listTbSedeHasSeccion(idSede);
}

@Transactional
public TbSedeHasSeccion findTbSedeHasSeccion(int id) {
	// TODO Auto-generated method stub
	return catTipoCobroDAO.findTbSedeHasSeccion(id);
}

@Transactional
public List<TbSedeHasSeccion> listTbSedeHasSeccion() {
	// TODO Auto-generated method stub
	return catTipoCobroDAO.listTbSedeHasSeccion();
}

}
